import { dynamicsLoadScript } from '@/views/card/js/mixins/dynamics-load-script.js';
export default {
  mixins: [dynamicsLoadScript],
  mounted() {
    if(!window.echarts){
      this.dynamicsLoadScript(this.env.publicPath + 'js/echarts/5.0.2/echarts.min.js', 'echarts', () => {
        this.initEcahrts();
      });
    }
    else {
      this.initEcahrts();
    }
  },
  methods: {
    initEcahrts() {},
  },
}
